sudo apt install -y gradle
[ $# -gt 0 ] && mkdir $1 && cd $1
gradle init
sed -i 's|services.gradle.org.*$|repo.huaweicloud.com/gradle/gradle-8.5-bin.zip|g' gradle/wrapper/gradle-wrapper.properties
mkdir -p app/src/main/java/com/sxf/djiuav
mkdir -p app/src/main/res
touch app/build.gradle
touch app/proguard-rules.pro
touch app/src/main/AndroidManifest.xml
sed -i '$a\include ":app"' settings.gradle
